/**
 * Created by yyf on 2018/1/11.
 */
export const api = {
    // 列表
    ESTABLISHING_FUNDS_LIST: {
        url: '/fundAnsat/list',
        method: 'get'
    },
    // 列表删除
    ESTABLISHING_FUNDS_DEL: {
        url: '/fundAnsat/{id}',
        method: 'delete'
    },
    // 列表下载
    DOWNLOAD_FILE: {
        url: '/file/exportExcel',
        method: 'get'
    },
    // 添加
    ESTABLISHING_FUNDS_ADD: {
        url: '/fundAnsat/fund',
        method: 'post'
    },
    // 头部详情
    ESTABLISHING_FUNDS_HEAD_DETAIL: {
        url: '/fundAnsat/{id}/head',
        method: 'get'
    },
    // 修改头部
    ESTABLISHING_FUNDS_HEAD_EDIT: {
        url: '/fundAnsat/head',
        method: 'put'
    },
    // 基金详情 基本信息
    ESTABLISHING_FUNDS_DETAILS: {
        url: '/fundAnsat/{fundId}/body',
        method: 'get'
    },
    // 修改基金详情-基本信息
    ESTABLISHING_FUNDS_DETAILS_EDIT: {
        url: '/fundAnsat/body',
        method: 'put'
    },
    // 基金合伙人列表
    ESTABLISHING_FUNDS_PARTNER_LIST: {
        url: '/fundAnsatPartner/partners',
        method: 'get'
    },
    // 基金合伙人详情
    ESTABLISHING_FUNDS_PARTNER_DETAIL: {
        url: '/fundAnsatPartner/partner/{id}',
        method: 'get'
    },
    // 基金合伙人添加
    ESTABLISHING_FUNDS_PARTNER_ADD: {
        url: '/fundAnsatPartner/partner',
        method: 'post'
    },
    // 基金合伙人修改
    ESTABLISHING_FUNDS_PARTNER_EDIT: {
        url: '/fundAnsatPartner/partner',
        method: 'put'
    },
    // 基金合伙人删除
    ESTABLISHING_FUNDS_PARTNER_DEL: {
        url: '/fundAnsatPartner/partner/{id}',
        method: 'delete'
    },
    // 删除文件
    DELETE_FILE: {
        url: '/file',
        method: 'delete'
    },
}
